/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="MEDICOSPROCEDIMENTOS")
public class MedicosProcedimentosProteu implements Serializable{

    @Id
    @Column(name="MPR_ST_CODIGO")
    private Integer mprStCodigo;
    @Column(name="PROC_ST_CODIGO_AMB")
    private String procStCodigoAmb;
    @Column(name="MED_ST_CODIGO")
    private String medStCodigo;
    @Column(name="PROC_ST_DESCRICAO")
    private String procStDescricao;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="CON_ST_PLA_CODIGO")
    private String conStPlaCodigo;
    @Column(name="MPR_CH_BLOQUEADO")
    private String mprChBloqueado;
    @Column(name="MPR_ST_TIPO_PROCED")
    private String mprStTipoProced;

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public String getConStPlaCodigo() {
        return conStPlaCodigo;
    }

    public void setConStPlaCodigo(String conStPlaCodigo) {
        this.conStPlaCodigo = conStPlaCodigo;
    }

    public String getMedStCodigo() {
        return medStCodigo;
    }

    public void setMedStCodigo(String medStCodigo) {
        this.medStCodigo = medStCodigo;
    }

    public String getMprChBloqueado() {
        return mprChBloqueado;
    }

    public void setMprChBloqueado(String mprChBloqueado) {
        this.mprChBloqueado = mprChBloqueado;
    }

    public Integer getMprStCodigo() {
        return mprStCodigo;
    }

    public void setMprStCodigo(Integer mprStCodigo) {
        this.mprStCodigo = mprStCodigo;
    }

    public String getMprStTipoProced() {
        return mprStTipoProced;
    }

    public void setMprStTipoProced(String mprStTipoProced) {
        this.mprStTipoProced = mprStTipoProced;
    }

    public String getProcStCodigoAmb() {
        return procStCodigoAmb;
    }

    public void setProcStCodigoAmb(String procStCodigoAmb) {
        this.procStCodigoAmb = procStCodigoAmb;
    }

    public String getProcStDescricao() {
        return procStDescricao;
    }

    public void setProcStDescricao(String procStDescricao) {
        this.procStDescricao = procStDescricao;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final MedicosProcedimentosProteu other = (MedicosProcedimentosProteu) obj;
        if (this.mprStCodigo != other.mprStCodigo && (this.mprStCodigo == null || !this.mprStCodigo.equals(other.mprStCodigo))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 17 * hash + (this.mprStCodigo != null ? this.mprStCodigo.hashCode() : 0);
        return hash;
    }


}
